package com.cloud.aopAfter;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@AopAsync
@Slf4j
public class AopBean {

    public AopBean() {
        System.out.println("AopBean 构造方法执行...");
    }

    public void add() {
        log.info(Thread.currentThread().getName() + "AopBean" + ",...add()...");
    }
}